create two activity tables
code for activity in hour and day