modified spring motion and added section for impact