implemented draw function of field class