1) Added unknown call with error message in the else case for checking type
2) Modified success/ failure messages to contain more specific information