Adding a globalMap variable to know if the component return results