Added player insert function