bioinfornatics: > but it seem is not aggregate by the foreach loop :-( Generally if you want to help who gives help you have to show the full code (or its compilable reduction) and copy&paste the error you get... Bye, bearophile