implement marker register