initialize sample