added monitor endpoint