some tuning on the catalog function