added get mark function