now it terminates!!