Refactoring electric adapters...must be a better way to do it :s