bug fix, v1.1 for prouduction
resolve merge conflict
added notes, completed coding