put the eigenclass blocks at the top of the file