updated hash table, added logging and scene drawing