making load data function