parallel case and output seems to be working