Added a complete example