create scene functionality