seperated blog functions