missing compute timer code