setting title as attr_reader