added caption to selected state