Be more robust with errors, turn spaces into zs for the spark api so I know what character is being passed