add some basic list-manipulation with accumulate