Use "finish" instead of "end"