Adding (broken) portable code