Sorry... I can't post any code because the program I'm working on is a project for a Computer Science course. What do you mean with "logical grouping"?