wrote program for presentation sense/avoid