New lab_02 with ternaries