Explained how merging of scope works