put try block around eigvals