add define trait expansion