We can avoid this if/else adding a private method that builds the `title`