cleaning up sample