Better error handling

make it a string?