Added dynamic changing of titles