now optimizing load function only storing serial data