added changes to jumping and falling