refactor strip