added stuff for physics