add title setter function