FINALLY GOT THE DICTIONARIES WORKING