add basics for sample code