THIS SEEMS TO WORK OK NOW