added a partner array that will be used to manipulate order