adding the "post_on_li" method