starting to add monitor functionality