forgot to declare S3 method for default