Changed complete example according to version 0.2