added resources, changed input data