added append, prepend, and replace features to goals.