Separated dictionaryinstall code from dictionary