Changed Dictionary

Changed how dictionary was done