Wrapper functions
Data Abstraction
Legibility and comments
Formatting
Doesn't discard everything after the first space
Removed debugging print-statement