changed char to uint8_t, added more preferences
;