simple watcher for object properties and variables