I made the front end, but it doesn't seem to work when running different times. Please look at it