balansing ranges oop flop first version