expanded e to error for legibility
cleaned up accounts_from_superpositions