adjusted initial position and height