pass return codes through