working on preprocessScene