replaced Accel3 by AccelN class