find more possible implementation patterns when -d is used.