guard against nil argument