added in-world grid search functionality