question about nopage sample code