fixing ports
trying out a sequence writer -- currently not working