remove debug print
handle case where cam is already present in database