shows code refactored