changed the piece constructor, use string now