encoder added