added filter_by_position
added filter by position