Need to add the check and call the correct method fetchmaps(), in case you change it