example resource method