fix display of operator value
removed the sleep 10
Added in lots of active record stuff