Removed debug print message. Corrected dict assignmnet.