removes testing code