modfied the sample file