added new feature to locate that filters on class