adding sense location and draw location functionality