fixed up a working instance