Sample codes added