added dynamic title changing