diff --git a/src/Object3D.js b/src/Object3D.js
index <HASH>..<HASH> 100644
--- a/src/Object3D.js
+++ b/src/Object3D.js
@@ -29,6 +29,8 @@ export default class Object3D {
         return this;
     }
 
+    raycast() {}
+
     render(gl, scene, camera) {
         this.childs.forEach(object => object.render(gl, scene, camera));
     }
diff --git a/src/Renderer.js b/src/Renderer.js
index <HASH>..<HASH> 100644
--- a/src/Renderer.js
+++ b/src/Renderer.js
@@ -1,6 +1,8 @@
 export default class Renderer {
     constructor(options) {
-        this._container = document.getElementById(options.container);
+        this._container = typeof options.container === 'string' ?
+            document.getElementById(options.container) : options.container;
+
         this._pixelRatio = options.pixelRatio || 1;
         this._antialias = options.antialias !== undefined ? options.antialias : true;
         this.autoClear = options.autoClear !== undefined ? options.autoClear : true;
add empty raycast method to object3d