iterating over dictionaries correctly this time...