updated no-server sample