switched to 16-bit timer