working on created_by generator (controller)