use 'getS3method' to find s3 method