added get areas function fix #10