init monitor at constructor