Returning the value from the function