Started writing code for filter by tag function