Fixed a bug. Added basic viewing.