default last param to be callback