added some features to Player