Use -z to check for empty string