comment return-var-type for factory method