added function to max destinations at 10
added function to max destinations at 10. Starting to need some refactoring. Can see some spots to dry out...