for final testing and debugging