add scene logic