added concatMap function & test