added load/store functionality