made top, bottom, middle dicts