they were directed by the court