modify tmr.now to return uint31