physics implementation
updated physics