Added method getLastConfig