Now it works, except for the last line...