example implementation of OOS EA2