use a ref for key-timing-bis