found out where createdDate initialization is supposed to go