Started the for loop and the conditional for the now function need to implement into Class MainHandler