added monitoring
added inside outside markers