now go on log p
fix physics bugs