added ESH get functionality partially