casting v1 and v2 multiple times to bool (this line and next)