added spacebar and 0-9 key commands