Had conditionnal to console