To work with -prepend and -append