update
added notes and completed coding