W ursae majoris contact system