Changeg the layout, created a visit table