main camera fetching working