trying to get up to date with pagekite code