added model for days, fixed sleep amount bug