updated with some system error codes