returning two values from a function

thanks! will work in implementing that now