add scene and test function