made page more generic