changed views to layout