finished implementation of field drawing