using generic config