functions for sensor model