added error checking to new map/filter/list/interval. no compile errors. might have runtime errors