display data in view