implements insertPlayer method