working on then at both ends