added monitor process to maintain proper counts