add resource method documented