interactions, dictionary working

cleaned up code, made sure dictionary was working, item count also
working