added commentary for clarity