common functions
page template