added incomplete byte functionality