change monitors from Array to Object for better indexing
main.html looks good now