Adding definition of showpage