updated Monitor with test