handler complete example