udpated for view app