Updating with working example.