refactor btce