removed printint statements