fixed a few things to make the no OF example work, cleaner example