automatically set belongs_to