titles now not undefined