added more error codes