refactor mobile