Code factorisation for yielders

why a semi column here?