removed unused function, fixed linter issues