Refactor bar