add some more error messages, in case something went wrong
some more error messages
always have a defined return value