adding configuration functionality