Notes: It stops if spacebar is pressed.
