morning kata implementing filter and stats