no more writing repetitive code for loading data