adding functionalities to ease the dev of sensors