save copy. halfway on solving memory bug. implemented gevp