add configration method