Added reverse sensor sketch