add grep method