father now calculates time of sleep when doing the actions