redesign arhichecture