necessary libraries, monitor class added