got some camera function to work