update formats returned
linting
add `getSubs()` function. fixes #48