add 2 sample code