added licenses fxn, closes #28