added initCamera