update the @S3method to @export close #172