added mark endpoint