commented out end balancing