Updating notes

Updating notes and source code

Signed-off-by: Frank McAuley <frank.mcauley@gmail.com>