add sample lookup code