camera logic and better width on output