removed pointers in prep for FreeRTOS