refactored and semantic responsive framework