deleting code from sample