start sample with parameters