find shift (not working good)