some work on d[]: