added code for table scene