added 2 core algorithm for orca