framework for the last page