return string as number working