change style algo