created a view for each state