finished changeover from bool to uint8