discripter sample code