initial testing code