added constructor for piece