add inspiration function (closes #2)