comment useless logic