refactor asis