added 3js stuff