add after to return the value of the first function instead of second