refactor assets helper