Prepare to create samples