changing return values for ios