added little bit of title functionality