scene related codes added