added filter functionality - #17