Better mark printing function