making markers a local variable