remove old code snippet