Added delay to transition