Please add some comments, on those possible "return early" conditions.