Corrected return value variables assignment to function call.