errors to be fixed by Laurent