added square and piece numbers