refactored char, refactored app