added -m for monitoring