working on implementing box2d