working example for title manipulation