mostly refactored to not use two.js