wrote some physics stuffs