add physics class, fix spacing