add handling of dotted lists