Working with sample