new purple storage functions