var changed to newTitle etc