beginning of new marker function