Separated camera from main