adopted layout to create, index, and show too.