added activation hours, refactored
0.1.6