working version of exploration