slightly refactor outdated code