added a load more function to main