zeropg() and fillpg() implemented