scene class working