added field type to ease lua binding