mark ujian function