refactor renders
refactor vector
refactor vector