instancing WIP
refactor