adding flush to prints