Created and tested type Player