Started inverting byte function