trying to make the walking cycle