rewrote player