store name and callback