Tried adding load function