work with samples