begin interesting sidebar refactor