Added output for debugging purposes.