move stent at end and output