example program writes VPS,SPS