renamed all fields called 'name' and changed it to 'title' for consistency