refactor the code to call the different light modes. refactor delay times into a variable