value monitor added;
Lots of changes