work on EI sample