refactoring E2Bean