working with no tests and no error checking