Is this a compound or complex sentence and tell me if it is cc or sc

When we go there, we will meet up with friends and socialize.

This is a complex sentence because it contains one independent clause ("we will meet up with friends and socialize") and one dependent clause ("When we go there").