Corrected resource type to "int"