started sensor function library