move inline functions to header
remove PROGMEM disable