added monitor control