refactor machine desc