[SQUASH ME] changed pos parameter to unsigned int