Added extra input (disp sign and dot density)