Passes all the tests, but needs to be tried at the command line too