added filter by labels functionality