Added delay time and set color