removed redundant printing