added tabs and factories