added a scenes dictionary to store all the scenes