added resources and layouts