- improved the elc reading function