Edited according to Mor's notes