added comment-onlyshowin function