some timer implementation use python