added managepage()