added append, prepend at current state