Added notes

Also fixed mistake at the bottom-most code example.