changed type of Dictionary