crn + markup

some code in crn + markup for ily (partially)