document marking code with features