structure improved
implementing physics