updated example with fixes from change scene