Two player function added