main marking was rewriten