I learned that I can use which to joint two sentences instead of writing two separate sentences. Sometimes, I feel that, which does not refer to the correct part of my sentence. How can I know that I use Which correctly in my sentence? For example,
A is the model part of method B, which requires the following conditions.
I feel that which here refers to method B instead of part A.
Do I use which correctly?