rename ext to extern