Reformatted the setInterval method.