references instead of c