It seems like you use ```currMMI.find('.mainlinebox')``` and ```currMMI.find('.mainopenlinebox')``` in multiple places. Might want to declare them once at the beginning of the function. Also, you should use camel case for the classess like ```mainLineBox``` or we could use something else like underscores ```main_line_box```, but we should pick one and be consistent