why maxLines? and NO camel case in the code please (so that's cutList as well).