setBytes now works