Add vertical monitor functions, add comments