rename setTime to redrawTime