added sample3 and fix typo