added lowest prime function