logical errors existed