added zencoder enconder