add function for getting setting values by keys