fixed marking method to avoid repetition