using -> rather than comp