added a shift after rotation