added result and cleanned  writeup