organize pointers\nMoved the array of UI pointers to its own function.