add repost function