Updated the logic, now it compiles.