responsive refactor