comments and crib

-updated comments
-added crib var
-switch/case with views not working will need rework