SERIAL_DEBUG_MODE + some changes