refactor device model