switch source() out for sourceCpp