should of used git mroe for my second attempt, got working views and models