added scaling to resources