refactor render objects