working out page stubs