moving getAreaInRange to Cs-methods