Created fully working example implementation