auto gen binding support