encoding started