changed scope order for comments