What does your program actually do? And what do you want it to do that is different?
The demo Several Things at a Time illustrates the use of millis() to manage timing. It may help with understanding the technique.
...R
PS... To make it easier for people to help you please modify your post and use the code button </> so your code looks like this and is easy to copy to a text editor. See How to use the Forum