revert to cons from list