removed old "physics" code