Added encoder skeleton