piece position extraction is working