Added variables to controller for repost2