working example added