modified results to container, added button functionality