createFields implemented