added method to check for due certificates