study function of dict