add version 3 using three.js