added resources and stuff