refactored hashtable into dictionary; builds on first lookup
info on possible value of pre-training