I have the first picture implementation now. Now I want to turn it into a table view as the second picture. How can I do it now?