generateRow implemented