add check for camera availability to init