switch to cpp... :)