Getting rid of extra output