still havent got timeout to work for transitions