working camera capture