added continue statement to skip already processed posts