adding arpack functionality