update on main interface and add a new classification method