added view api