move mode and start_timer to unsigned char