Added ducky encoder