This is an attempt to create the text fields automatically..