impl. func. in scene.java and adding to interface obj. prim.