Added code which can load more than one sector into memory