minor code cleanup, changed seed default to fn
linting