use getName instead of getTitle