changed to use PointInTime class and increment instance attributes (not solved)