Attempting to remove printed code from screen