improved argument passing to views
minor formatting changes
added checking for arguments
made it into an actual view
made it into an actual view