starting piece logic
starting piece logic