added resource creation & method calls