added loader logic for places