got pages event more or less implemented