added get method with format parameters and custom key