Handle case of empty input