removed error throwing