added registerScenes() method