deleting unneeded outputs