redoing things, making my own physics simulation