Fixed misplaced prob(), added notes