added more pieces logic