added loader logic for areas