added title handler method