adding the fields class