added -d -m