Better return values in callback