* divide catalogs for data : in and out * add test .R file