moved posts logic