fixed the access to mark function inside class