Finished working example added