implemented player termination functions