start and init camera method written