broke encoding last time, fixed now