timing is written but doesnt quite work yet