refactoring of the scene objects