exploration code