added player spacebar control