added command to call sensor properly