added show-source support