add endpage
changed layout