more arithmetic and list processing functions