Tempo must be int
it was a deque