still have issues with page replacement