fixed is_parallel and is_equivalent methods