Views

@jfarmer- focused a bit on the views but will now will go back to the backend 
This code works but is kind of awkward.  Don't worry about it now, but keep it in the back of your mind as something to refactor.