render package refactoring