adding windows to tablefactory