changing return codes to more common ones