Edit variable AND print to console