removed unnecessary variable in scene number method