change a ! -z to a -n for clarity