added method to confg.json