Added functional for second screen.