switched undefined for ''