Modifying the items dictionary generator for better results and simpler implimentation