add Identical
add identical
refactoring
implement map,filter,reduce