passing code to marc