mark function added