Fixed error left by teacher for example 2