don't use uint for length parameter