changed l to d for clarity.