linting
add `getSubs()` function. fixes #48