add method pull_posts, change css