Added multi parameter to addResource()