#1 Progress on encoder implementation