Safer callback