Added logic to account for empty existing content in init