programatically assign a title and a color