created table show template, made it a functional component