changed logic to be published front page