A: A is drinking cups of coffee nonstop in the kitchen.
B: What the hell! You trying to make your heart explode?
A: I am loading up on coffee. Because it is a pain in the ass getting to the kitchen and I don't want to come back here.
I quoted this dialogue from an american sitcom.
This sentence's construction seems little different to me. I suppose "getting to the kitchen" refers to "it".
I think I can rewrite it as in sentence 2:
2- ...Because getting to the kitchen is a pain in the ass and I don't want to come back here.
Can I use sentence 3 too?
3- ...Because it is a pain in the ass which is getting to the kitchen and I don't want to come back here.