refactor art templete