Added another monitor variable
Added variable initialization