getMarks rewrite (in progress)