make toEL and isEL as public