Improving performance and camera functions