blog function added