added blog functions