please use int field for begin and end