create square views using factory