add create marked func