Added ability to enter multiple spaces