removes unnecessary sample code