removed y_as_bytes, replaced with y_format