update to use unsigned data instead of signed