simplified title logic