updated the functions while
creating blog post