code added into Camera subsystem