Fixed manipulation functions, actually stores manipulated data now