updated monitor class;