added view factory