got rid of remove pid from the helpers file