updating to ignore config file and refactored private method syntax