change reload to return a map