raise exception if not 1