Filtering added

Added ability to filter based on position