Ignore empty inputs
Slightly better style