added mill recognition