show source for edit and new functions

Closes #14