Feching data from component itself