communication and timming stuff