added p_value into the mega_cores for filtering