commons code for comment and like