piece selection implemented