removed unused parameter from collectData
sensors get pointer to board