catch empty inputs good to go