removed redundant output