Spaces in between math operators please. And you probably want to just do time - 1 instead of time -= 1.