implemented logic to save more than one configuration entry