added caption setting