added new api for mark