added player and key commands