removed testing code