modified to add 16.5mhz timing