Adding profile to cod.