set title in constructor