more elaborate, but probably better way to check for source
reformatting commit info
documentation