some work on BytesInput :-)