prependTo functionality to addMessage