added ability to display pictures