forgot to squash bug related to c2 and impure functions