added theme d option