remove old sample code