added repost2 controller changes