refactor issue to remove the struct
added created_at field