Changed up error codes