Implemented the better data retrieval method for GUI components.