changed bytes set to public