Added return and made a table