add addConfiguration(&conf) method