small simplifying of box2d example