added setting api