changing the version
fixing how return codes are handled