Virginity?

How do you define virginity? There are so many ways to have sex and different genders that I think virginity is kind of confusing now. Last year with my ex boyfriend, we did sexual thinks. (I gave him a hand job and a bj and he fingered me.) Did I lose my virginity? Would I be described as a virgin or no? If you take my boyfriend out of the equation and add a girl, it would have been considered sex. What do you guys think of virginity or how do you define losing your virginity?