modified function blog