refactor assests