Return id not classId because function expects id.