commenting logic