Revised program to no longer send output