Removed some unnecessary code from explore