force and velocity routines added