reverting testing code