callback in try