adding multi return value function