Fixed semantics error on line 20