testing code and results