remove test
messaging and error handling