added random player identity
tidying