capitalizes name inputs