mostly refactoring in code info activity