First and second type risk