not sure the prime function is readable