debugged prototype physics