made pages more generic