Add printf for junction.