implement render fields of a class