made title dynamic